package com.song.book.book.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "USER-PROVIDER",fallback = BookSerivceImpl.class)
public interface BookSerivce {

       @GetMapping("/hello")//注意括号的名称是要调用的url
       String testUser();

}
